package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户基础信息对象 user_basicinformation
 *
 * @author zzs
 * @date 2024-10-11
 */
public class UserBasicinformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String userNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String userSex;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userBrithday;

    /** 等级 */
    @Excel(name = "等级")
    private String userGrade;

    /** 人员分类 */
    @Excel(name = "人员分类")
    private String userClassify;

    /** 正式编制 */
    @Excel(name = "正式编制")
    private String userEsta;

    /** 部门名称（编号） */
    @Excel(name = "部门名称", readConverterExp = "编=号")
    private String userSection;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String userEdu;

    /** 主职务 */
    @Excel(name = "主职务")
    private String userJob;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String userPlace;

    /** 民族 */
    @Excel(name = "民族")
    private String userNation;

    /** 入职日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userJobDate;

    /** 入党日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入党日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userPartyDate;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String userPoliticsstatus;

    /** 婚姻 */
    @Excel(name = "婚姻")
    private String userMarriage;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserNumber(String userNumber)
    {
        this.userNumber = userNumber;
    }

    public String getUserNumber()
    {
        return userNumber;
    }
    public void setUserSex(String userSex)
    {
        this.userSex = userSex;
    }

    public String getUserSex()
    {
        return userSex;
    }
    public void setUserBrithday(Date userBrithday)
    {
        this.userBrithday = userBrithday;
    }

    public Date getUserBrithday()
    {
        return userBrithday;
    }
    public void setUserGrade(String userGrade)
    {
        this.userGrade = userGrade;
    }

    public String getUserGrade()
    {
        return userGrade;
    }
    public void setUserClassify(String userClassify)
    {
        this.userClassify = userClassify;
    }

    public String getUserClassify()
    {
        return userClassify;
    }
    public void setUserEsta(String userEsta)
    {
        this.userEsta = userEsta;
    }

    public String getUserEsta()
    {
        return userEsta;
    }
    public void setUserSection(String userSection)
    {
        this.userSection = userSection;
    }

    public String getUserSection()
    {
        return userSection;
    }
    public void setUserEdu(String userEdu)
    {
        this.userEdu = userEdu;
    }

    public String getUserEdu()
    {
        return userEdu;
    }
    public void setUserJob(String userJob)
    {
        this.userJob = userJob;
    }

    public String getUserJob()
    {
        return userJob;
    }
    public void setUserPlace(String userPlace)
    {
        this.userPlace = userPlace;
    }

    public String getUserPlace()
    {
        return userPlace;
    }
    public void setUserNation(String userNation)
    {
        this.userNation = userNation;
    }

    public String getUserNation()
    {
        return userNation;
    }
    public void setUserJobDate(Date userJobDate)
    {
        this.userJobDate = userJobDate;
    }

    public Date getUserJobDate()
    {
        return userJobDate;
    }
    public void setUserPartyDate(Date userPartyDate)
    {
        this.userPartyDate = userPartyDate;
    }

    public Date getUserPartyDate()
    {
        return userPartyDate;
    }
    public void setUserPoliticsstatus(String userPoliticsstatus)
    {
        this.userPoliticsstatus = userPoliticsstatus;
    }

    public String getUserPoliticsstatus()
    {
        return userPoliticsstatus;
    }
    public void setUserMarriage(String userMarriage)
    {
        this.userMarriage = userMarriage;
    }

    public String getUserMarriage()
    {
        return userMarriage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("userNumber", getUserNumber())
                .append("userSex", getUserSex())
                .append("userBrithday", getUserBrithday())
                .append("userGrade", getUserGrade())
                .append("userClassify", getUserClassify())
                .append("userEsta", getUserEsta())
                .append("userSection", getUserSection())
                .append("userEdu", getUserEdu())
                .append("userJob", getUserJob())
                .append("userPlace", getUserPlace())
                .append("userNation", getUserNation())
                .append("userJobDate", getUserJobDate())
                .append("userPartyDate", getUserPartyDate())
                .append("userPoliticsstatus", getUserPoliticsstatus())
                .append("userMarriage", getUserMarriage())
                .toString();
    }
}
